home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CD ROM Paradise Collection 4
/
CD ROM Paradise Collection 4 1995 Nov.iso
/
filutil
/
flex247x.zip
/
FLEX247
/
README.BCC
< prev
Wrap
Text File
|
1994-09-29
|
2KB
|
57 lines
README flex 2.4.7 - Borland 4.02 distribution
----------------------------------------------------------------
enclosed in flex247s.zip (source) and flex247x.zip (executable)
----------------------------------------------------------------
This flex (2.4.7) executable was compiled with, and generates code
that is successfully compiled with Borland C/C++ 4.02
A limitation is that very large scanner input files (that is to say,
a very large number of actions) may cause the flex to terminate while
trying to reallocate a buffer greater than 64 KB of memory. This
could in fact be worked around by using a far memory allocation
routine at the expense of source code portability. I chose to remain
ansi-c compatible - the only scanner input that I've seen venture
close to this is the scanner for flex itself.
The enclosed flex.skl is the same as the hard-coded skeleton; it
compiles cleanly with borland as a standalone c file or as a c file
included within 'extern "C" {...}' in a c++ file. I have not yet
tried out a true c++ generated scanner (with the '-+' option) but
expect to do so soon (*and* expect not to have any problems (thanks
vern)). But I *will* advise and repost any additional patches that
might prove to be necessary.
Installation for DOS: copy the executable into a directory on your
path. That's it.
The archive file (flex247x.zip) includes
flex.exe executable
flex.skl the skeleton that you can modify to suit yourself
flex.1 nroff source for the man page
flexdoc.1 nroff source for the manual
flex.man the man page formatted
flexdoc.man the manual formatted
copying read this
news release notes
readme Vern's original readme
readme.bcc this file
bccdiffs (unified) context diffs for the distribution sources
makefile a makefile for BCC 4.02, using Borland's make
The archive file (flex247s.zip) includes
all the above files (except the executable, of course,) and all
files include in the original distribution archive. Ths sources in
the directory are those that have been patched for compilation with
bcc. If you want the originals, you probably know where to find 'em
- and I expect that you could recreate them from the diffs :-)
Have fun.
Terry Kane
tkane01@eagle.cc.emory.edu
Bugs lurk in corners and congregate at boundaries. (Bezier)